<?php
/**
 * Created by PhpStorm.
 * User: Mak
 * Date: 2016/6/22 0022
 * Time: 22:13
 */

namespace Home\Controller;
use Think\Controller;

class CarouselController extends ComController{
    public function index(){
        $salon=M("salon");
        $ret=$salon->where("status=1")->select();
        $this->assign("ret",$ret);
//        dump($ret);
        $this->display();
    }
}